package com.xhu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xhu.pojo.Compete;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface CompeteService extends IService<Compete>{


    IPage<Compete> getAllToPage(int current, int size);

    IPage<Compete> getAllByMonthToPage(int current, int size, String month);

    void updateOneById(Compete entity);

    void insertOne(Compete entity);

    void uplordFile(MultipartFile file, HttpServletRequest request);

    void guidang(Integer id);
}
